package ee.ut.math.chess.base.model.exception;

import ee.ut.math.chess.base.model.Move;

public class KingIsThreatenedException extends GameLogicException{

	private static final long serialVersionUID = 1L;
	private Move threateningMove;
	public KingIsThreatenedException(Move threateningMove) {
		this.threateningMove = threateningMove;
	}
	
	public Move getThreateningMove() {
		return threateningMove;
	}
}
